import { Module } from '@nestjs/common';
import { UserService } from 'src/services/user/user.service';
import {UserResolver} from '../resolvers/user.resolver';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from 'src/entities/user.entity';
import { Article } from 'src/entities/article.entity';
import { ArticleService } from 'src/services/article/article.service';
import { Label } from 'src/entities/label.entity';
import { LabelService } from 'src/services/label/label.service';

@Module({
  imports: [
    TypeOrmModule.forFeature([User,Article,Label])
  ],
  providers: [UserResolver,UserService,ArticleService,LabelService],
})
export class UserModule {}